def repeat(num_times):  # input
    def decorator1(func):
        def dec(*args):
            for _ in range(num_times):
                func(*args)
        return dec
    return decorator1


@repeat(num_times=5)
def test(name):
    print(f"Hello {name}")


test("Jack")
